Back up XCO Database

You can back up an XCO database after the installation.

About this task

Follow this procedure to back up an XCO database.

Procedure

  1. Connect to the TPVM console or SSH session of the redundant IP as an Extreme user.
  2. Log in to XCO using the efa login command.
  3. If needed, run the efa system settings update command to configure XCO to back up to a remote server.
    extreme@tpvm:~$ efa login
       Password:
       Login successful.
       --- Time Elapsed: 2.412206025s ---
       (efa:user)@tpvm:~$ efa system settings update --remote-server-ip 10.25.101.74 --remote-transfer-protocol scp --remote-server-username user --remote-server-directory /home/user/
       Please supply a password for remote server:
       Setting Update Successful
       --- Time Elapsed: 4.723485224s ---
  4. If you have configured a remote server, run the efa system backup --remote command to generate a local backup and copy the resulting tar.gz file to the configured remote device.
    Otherwise, run the efa system backup command. Local backups are stored in /var/log/efa/backup/ or /apps/efa_logs/backup/ directory. Backup files are date and time stamped in the file name.

Example

The following example shows efa system backup command output with backup location:
extreme@tpvm:~$ efa login
Password:
Login successful.
--- Time Elapsed: 2.412206025s ---
(efa:extreme)extreme@tpvm:~$ efa system backup --remote
Generating backup of EFA...

Backup Location: user@10.25.101.74:/home/user/EFA-3.4.0-2-2023-8-30T01-44-39.193.tar

--- Time Elapsed: 26.700226408s ---